#!/usr/bin/node

const log = console.log;

const pi = Math.PI;

let Circle = function(radius){
  let r = radius;
  this.diameter = () => 2*r;
  this.circumference = () => pi*2*r;
  this.area = () => pi*r*r;
};

module.exports = Circle;

log('04-export-object:',module);
